Linux `alternatives --config` without user input
Posted
by Steve
on Server Fault
See other posts from Server Fault
or by Steve
Published on 2010-03-17T15:03:59Z
Indexed on
2010/03/17
15:11 UTC
Read the original article
Hit count: 158
I am writing a RHEL kickstart script, and in my %post, I need to install a JRE.
Basically, the current setup involves me needing to manually go in after first boot and set the newly installed JRE as the default using the alternatives --config
command. Is there a way for me to pass arguments to alternatives
so I don't have to manually pick the correct JRE?
© Server Fault or respective owner